<?php X\Html::Begin(
        'materia/cargar.js'
        ); ?>

    <script type="text/javascript">

    Ext.onReady(function()
    {

    });
    </script>
</html>